home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / RAM Breakeven Analysis.cpt / RAM Breakeven Analysis / card_3025.txt < prev    next >
Text File  |  1990-12-13  |  7KB  |  336 lines

  1. -- card: 3025 from stack: in
  2. -- bmap block id: 3410
  3. -- flags: 0000
  4. -- background id: 2569
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 2000
  11. -- rect: left=58 top=29 right=95 bottom=460
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 1
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   show card field id 25
  23.   show card field "JD"
  24.   wait 1 seconds
  25.   hide card field "JD"
  26.   wait 1 seconds
  27.   show card field "JD"
  28.   wait 1 seconds
  29.   hide card field "JD"
  30.   wait 1 seconds
  31.   hide card field id 25
  32. end mouseUp
  33.  
  34.  
  35.  
  36. -- part 4 (button)
  37. -- low flags: 00
  38. -- high flags: 2000
  39. -- rect: left=166 top=118 right=137 bottom=256
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: 2
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   visual effect zoom open
  51.   show card field id 12
  52. end mouseUp
  53.  
  54.  
  55.  
  56. -- part 8 (field)
  57. -- low flags: 00
  58. -- high flags: 0000
  59. -- rect: left=267 top=143 right=163 bottom=333
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 0 / 0
  62. -- text alignment: 0
  63. -- font id: 0
  64. -- text size: 12
  65. -- style flags: 8192
  66. -- line height: 16
  67. -- part name: Minutes
  68.  
  69.  
  70. -- part 11 (field)
  71. -- low flags: 00
  72. -- high flags: 0000
  73. -- rect: left=266 top=118 right=138 bottom=332
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 0 / 0
  76. -- text alignment: 0
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 8192
  80. -- line height: 16
  81. -- part name: RAM cost
  82.  
  83.  
  84. -- part 12 (field)
  85. -- low flags: 81
  86. -- high flags: 0004
  87. -- rect: left=0 top=237 right=342 bottom=164
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 0 / 0
  90. -- text alignment: 0
  91. -- font id: 0
  92. -- text size: 12
  93. -- style flags: 8192
  94. -- line height: 16
  95. -- part name: 5
  96. ----- HyperTalk script -----
  97. on MouseUp
  98.   hide card field id 12
  99. end MouseUp
  100.  
  101.  
  102.  
  103. -- part 13 (button)
  104. -- low flags: 00
  105. -- high flags: A003
  106. -- rect: left=194 top=240 right=262 bottom=292
  107. -- title width / last selected line: 0
  108. -- icon id / first selected line: 0 / 0
  109. -- text alignment: 1
  110. -- font id: 0
  111. -- text size: 12
  112. -- style flags: 0
  113. -- line height: 16
  114. -- part name: The Button
  115. ----- HyperTalk script -----
  116. on mouseUp
  117.   put card field "ram cost" into theramcost
  118.   put card field "minutes" into theminutes
  119.   divide theminutes by 60
  120.   put card field "timeworth" into thetimeworth
  121.   multiply thetimeworth by theminutes
  122.   divide theramcost by thetimeworth
  123.   put theramcost into card field "sum"
  124. end mouseUp
  125.  
  126.  
  127.  
  128.  
  129. -- part 14 (field)
  130. -- low flags: 00
  131. -- high flags: 0000
  132. -- rect: left=219 top=280 right=296 bottom=253
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 0 / 0
  135. -- text alignment: 1
  136. -- font id: 0
  137. -- text size: 12
  138. -- style flags: 8192
  139. -- line height: 16
  140. -- part name: sum
  141.  
  142.  
  143. -- part 17 (button)
  144. -- low flags: 00
  145. -- high flags: 2000
  146. -- rect: left=31 top=143 right=161 bottom=256
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 0 / 0
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: 4
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   visual effect zoom open
  158.   show card field id 18
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 18 (field)
  164. -- low flags: 81
  165. -- high flags: 0004
  166. -- rect: left=164 top=237 right=342 bottom=340
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 0 / 0
  169. -- text alignment: 0
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 8192
  173. -- line height: 16
  174. -- part name: 7
  175. ----- HyperTalk script -----
  176. on MouseUp
  177.   hide card field id 18
  178. end MouseUp
  179.  
  180.  
  181.  
  182. -- part 19 (field)
  183. -- low flags: 00
  184. -- high flags: 0000
  185. -- rect: left=267 top=171 right=191 bottom=333
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 0 / 0
  188. -- text alignment: 0
  189. -- font id: 0
  190. -- text size: 12
  191. -- style flags: 8192
  192. -- line height: 16
  193. -- part name: TimeWorth
  194.  
  195.  
  196. -- part 20 (button)
  197. -- low flags: 00
  198. -- high flags: 2000
  199. -- rect: left=44 top=169 right=188 bottom=257
  200. -- title width / last selected line: 0
  201. -- icon id / first selected line: 0 / 0
  202. -- text alignment: 1
  203. -- font id: 0
  204. -- text size: 12
  205. -- style flags: 0
  206. -- line height: 16
  207. -- part name: 4
  208. ----- HyperTalk script -----
  209. on mouseUp
  210.   visual effect zoom open
  211.   show card field id 21
  212. end mouseUp
  213.  
  214.  
  215.  
  216. -- part 21 (field)
  217. -- low flags: 81
  218. -- high flags: 0004
  219. -- rect: left=340 top=237 right=342 bottom=512
  220. -- title width / last selected line: 0
  221. -- icon id / first selected line: 0 / 0
  222. -- text alignment: 0
  223. -- font id: 0
  224. -- text size: 12
  225. -- style flags: 8192
  226. -- line height: 16
  227. -- part name: 21
  228. ----- HyperTalk script -----
  229. on MouseUp
  230.   hide card field id 21
  231. end MouseUp
  232.  
  233.  
  234.  
  235. -- part 22 (button)
  236. -- low flags: 00
  237. -- high flags: 0000
  238. -- rect: left=439 top=30 right=52 bottom=459
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 19678 / 19678
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: Help
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   show card field id 25
  250.   show card field "JD"
  251.   wait 1 seconds
  252.   hide card field "JD"
  253.   wait 1 seconds
  254.   show card field "JD"
  255.   wait 1 seconds
  256.   hide card field "JD"
  257.   wait 1 seconds
  258.   hide card field id 25
  259. end mouseUp
  260.  
  261.  
  262.  
  263. -- part 25 (field)
  264. -- low flags: 81
  265. -- high flags: 0004
  266. -- rect: left=55 top=25 right=110 bottom=463
  267. -- title width / last selected line: 0
  268. -- icon id / first selected line: 0 / 0
  269. -- text alignment: 1
  270. -- font id: 0
  271. -- text size: 12
  272. -- style flags: 8192
  273. -- line height: 16
  274. -- part name: 1
  275. ----- HyperTalk script -----
  276. on MouseUp
  277.   hide card field id 25
  278. end MouseUp
  279.  
  280.  
  281.  
  282. -- part 26 (field)
  283. -- low flags: 80
  284. -- high flags: 0004
  285. -- rect: left=156 top=113 right=140 bottom=334
  286. -- title width / last selected line: 0
  287. -- icon id / first selected line: 0 / 0
  288. -- text alignment: 0
  289. -- font id: 3
  290. -- text size: 9
  291. -- style flags: 256
  292. -- line height: 12
  293. -- part name: JD
  294.  
  295.  
  296. -- part contents for card part 8
  297. ----- text -----
  298. 60
  299.  
  300. -- part contents for card part 12
  301. ----- text -----
  302. Default value of $600.00 based on current price of 2Mb of RAM installed.  You can easily substitute the price of that upgrade you've got your eye on.
  303.  
  304.  
  305.  
  306. -- part contents for card part 11
  307. ----- text -----
  308. 600
  309.  
  310. -- part contents for card part 18
  311. ----- text -----
  312. You know, number of minutes you waste each day quitting and opening applications.  Default of 60 minutes can be changed to anything your heart desires.
  313.  
  314. -- part contents for card part 19
  315. ----- text -----
  316. 100
  317.  
  318. -- part contents for card part 21
  319. ----- text -----
  320. This one should be easy‚Äîhow much is an hour of your time worth? The default value of $100.00 can be changed to whatever you think YOUR time is worth.
  321.  
  322. -- part contents for card part 14
  323. ----- text -----
  324. 6
  325.  
  326. -- part contents for card part 25
  327. ----- text -----
  328. RAM BREAKEVEN ANALYSIS is a totally free stack, placed into the public domain by Bob LeVitus/MACazine.  Give it to anyone you like.  Comments appreciated.  
  329. Bob LeVitus--CompuServe: 73537,1217/GEnie: RLEVITUS
  330. [Click anything with a "* for more info.]
  331.  
  332. -- part contents for card part 26
  333. ----- text -----
  334. Additional code by:
  335. Jerry "the Stackhead" Daniels
  336.